package com.li.templatemethodpattern.hookmethod;

/**
 * @author lirenchun
 */
public class HandleDrinkTea extends HandleDrink {
    @Override
    protected void readyDrink() {
        System.out.println("准备好茶汤啦！");
    }

    /**
     * 重写钩子方法
     *
     * @return
     */
    @Override
    public boolean hookHandle() {
        return false;
    }
}
